package com.cqcvc.service;

import com.cqcvc.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author hunter
 * @since 2022-08-04
 */
public interface RoleService extends IService<Role> {
    Set<String> getRolesByUsername(String username);
    Map<String,Object> selectRole(String pageNum, String pageSize);
    int saveRole(Role role);
    int delRole(int id);
    Integer batchDel(List<Integer> ids);
    Role selectByRoleId(Integer rid);
}
